package wymiana.service;

import javax.annotation.Resource;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.stereotype.Service;

@Service("authenticationService")
public class AuthenticationService {
	
	@Resource
	@Qualifier("org.springframework.security.authenticationManager")
	private AuthenticationManager authenticationManager;
	
	public AuthenticationManager getAuthenticationManager(){
		return authenticationManager;
	}

}
